#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

void while_print()
{
    int i = 0;
    while (i <= 100) {
        printf("%d\n", i);
        ++i;
    }

}

void dowhile_print()
{
    int i = 0;
    do {
        printf("%d\n", i);
        ++i;
    } while (i <= 100);
}

void for_print()
{
    for (int i = 0; i <= 100; ++i) {
        printf("%d\n", i);
    }
}

void goto_print()
{
    int i = 0;
loop:
    if (i <= 100) {
        printf("%d\n", i);
        ++i;
        goto loop;
    }
}

int main()
{
    while_print();
    dowhile_print();
    for_print();
    goto_print();

    return 0;
}